/**
 * 
 */
package adnotatio.renderer.templates.wrappers;

import adnotatio.renderer.templates.FieldPanel;
import adnotatio.renderer.templates.widgets.InlineHTML;

import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.xml.client.Element;

/**
 * A wrapper for simple HTML panels
 * 
 * @author kotelnikov
 */
public class InlineHTMLPanelInfo extends HTMLPanelInfo {

    /**
     * This constructor initializes internal fields of this widget wrapper.
     * 
     * @param panel the form panel owning this widget wrapper
     * @param e the XML element defining this widget wrapper
     */
    public InlineHTMLPanelInfo(FieldPanel panel, Element e) {
        super(panel, e);
    }

    /**
     * @see adnotatio.renderer.templates.wrappers.HTMLPanelInfo#newWidget()
     */
    protected Widget newWidget() {
        return new InlineHTML();
    }
}